#pragma once
#include "FAlpResBtn.h"

class GUI_API CFAlpCheckBtn :   public CFAlpResBtn
{
public:
	CFAlpCheckBtn(){};
	CFAlpCheckBtn(UINT nID);
	CFAlpCheckBtn(wstring strCaption,UINT nID);
	CFAlpCheckBtn(DWORD dwStyle,wstring strCaption, const CRect &rc, UINT nID);
	CFAlpCheckBtn(DWORD dwStyle, wstring strCaption, int x, int y, int cx, int cy, UINT nID);
	virtual ~CFAlpCheckBtn(void);

public:
	virtual void	ImprovePaint( HANDLE hDB ,HDC hdc =NULL );
	virtual void	Click(DWORD dwClick, POINT pt);

	void SetChecked(BOOL bChecked);
	BOOL IsChecked();


protected:
	BOOL     m_bChecked;

protected:
	void Init();
	virtual void Paint(CDC* pDC);


};
